/* === Variables & Reset === */
:root {
  --primary: #1E3A5F;
  --primary-light: #2a5080;
  --primary-dark: #0E254D;
  --accent: #7A9E5A;
  --accent-hover: #5A7A38;
  --light-bg: #F5F7FA;
  --white: #ffffff;
  --text: #1E3A5F;
  --text-light: #5a7a9a;
  --text-on-dark: #c8d6e5;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* === Container === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navigation === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  color: var(--primary);
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-light);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* === Sections === */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark .section-label {
  color: var(--accent);
}

.section-white {
  background: var(--white);
}

.section-light {
  background: var(--light-bg);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary);
}

.section-intro {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 48px;
}

.section-intro.light {
  color: var(--text-on-dark);
}

/* === Hero === */
.hero {
  padding-top: 120px;
  padding-bottom: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f0fe 100%);
}

.hero-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Hero Banner */
.hero-banner {
  background: var(--primary);
  padding: 48px 0 32px;
}

.banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.banner-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.banner-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.banner-tagline {
  display: block;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  margin-top: 2px;
}

.banner-features {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.banner-feature {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.banner-feature strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.banner-feature span {
  font-size: 0.85rem;
  color: var(--text-on-dark);
}

.banner-link {
  display: block;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 16px 0 0;
  max-width: 1140px;
  margin: 0 auto;
}

/* === Problem Section === */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.problem-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 320px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.lead {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: var(--text-on-dark);
}

.problem-list {
  margin-bottom: 24px;
}

.problem-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.problem-list li:last-child {
  border-bottom: none;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.emphasis-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.emphasis-text.accent {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 4px;
}

.stat-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-text strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.stat-text span {
  color: var(--text-on-dark);
  font-size: 0.9rem;
}

.section-quote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-on-dark);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  max-width: 600px;
}

.section-quote.dark {
  color: var(--text-light);
  margin: 32px auto 48px;
  max-width: 600px;
}

.intervention-text {
  font-size: 1rem;
  color: var(--text-on-dark);
  margin-bottom: 32px;
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.service-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  font-size: 0.88rem;
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--text);
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.services-photo {
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
}

.services-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.cta-center {
  text-align: center;
}

/* === Approach === */
.principles {
  margin-bottom: 48px;
}

.principles-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 12px;
}

.principles-tags,
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
}

.section-light .tag {
  background: var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.approach-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.6;
}

.approach-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.approach-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === Outcomes === */
.outcomes-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.outcome-step {
  background: var(--primary);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

.outcome-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.outcome-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: transform 0.3s;
}

.outcome-card:hover {
  transform: translateY(-2px);
}

.outcome-card svg {
  color: var(--accent);
  flex-shrink: 0;
}

.outcome-card span {
  font-size: 0.95rem;
  font-weight: 500;
}

.reassurance-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.reassurance-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* === Resources === */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.resource-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s;
}

.resource-card:hover {
  transform: translateY(-4px);
}

.resource-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.resource-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.coming-soon {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(59,130,246,0.12);
  padding: 4px 12px;
  border-radius: 100px;
}

.resources-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-on-dark);
}

.resources-note a {
  color: var(--accent);
  text-decoration: underline;
}

/* === Team === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-photo-wrapper {
  width: 216px;
  height: 216px;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.22), 0 2px 8px rgba(122, 158, 90, 0.18);
  transition: box-shadow 0.3s, transform 0.3s;
}

.team-card:hover .team-photo-wrapper {
  box-shadow: 0 16px 48px rgba(30, 58, 95, 0.3), 0 4px 16px rgba(122, 158, 90, 0.25);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.team-summary {
  text-align: center;
}

.team-summary p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.team-tags {
  justify-content: center;
}

/* === Contact === */
.contact-desc {
  color: var(--text-light);
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.contact-link:hover {
  background: #eaeff5;
}

.contact-link svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-link strong {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
}

.contact-link span {
  font-size: 0.82rem;
  color: var(--text-light);
}

.contact-photo {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

/* === Footer === */
footer {
  background: var(--primary-dark);
  color: var(--text-on-dark);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

.footer-brand span {
  font-size: 0.82rem;
  color: var(--text-on-dark);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-on-dark);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* === Animations === */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.services-grid .animate:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate:nth-child(3) { transition-delay: 0.2s; }
.approach-grid .animate:nth-child(2) { transition-delay: 0.1s; }
.approach-grid .animate:nth-child(3) { transition-delay: 0.2s; }
.approach-grid .animate:nth-child(4) { transition-delay: 0.3s; }

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: -1;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .banner-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .mobile-toggle {
    display: flex;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 90px;
  }

  .banner-features {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .stat-block {
    flex-direction: column;
    text-align: center;
  }

  .outcomes-flow {
    flex-direction: column;
  }

  .outcome-arrow {
    transform: rotate(90deg);
  }
}
